package com.chazz.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 商品信息表，储存商品信息(Goods)实体类
 *
 * @author makejava
 * @since 2020-09-21 14:13:51
 */
public class Goods implements Serializable {

//    private static final long serialVersionUID = 564551226948782341L;
    /**
     * 商品id主键
     */
    private Integer goodsid;
    /**
     * 商品编号
     */
    private String goodsno;
    /**
     * 商品名称
     */
    private String goodsname;
    /**
     * 商品标题
     */
    private String goodstitle;
    /**
     * 商品图片地址
     */
    private String goodsimg;
    /**
     * 商品分类id，外键
     */
    private Integer categoryid;
    /**
     * 商品品牌id，外键
     */
    private Integer brandid;
    /**
     * 商品详情
     */
    private String goodsdescription;
    /**
     * 商品状态(0表示下架，1表示上架)
     */
    private Integer status;
    /**
     * 商品创建时间
     */
    private Date createtime;
    /**
     * 商品更新时间
     */
    private Date updatetime;
    /**
     * 商品备注
     */
    private String remark;


    public Integer getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Integer goodsid) {
        this.goodsid = goodsid;
    }

    public String getGoodsno() {
        return goodsno;
    }

    public void setGoodsno(String goodsno) {
        this.goodsno = goodsno;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public String getGoodstitle() {
        return goodstitle;
    }

    public void setGoodstitle(String goodstitle) {
        this.goodstitle = goodstitle;
    }

    public String getGoodsimg() {
        return goodsimg;
    }

    public void setGoodsimg(String goodsimg) {
        this.goodsimg = goodsimg;
    }

    public Integer getCategoryid() {
        return categoryid;
    }

    public void setCategoryid(Integer categoryid) {
        this.categoryid = categoryid;
    }

    public Integer getBrandid() {
        return brandid;
    }

    public void setBrandid(Integer brandid) {
        this.brandid = brandid;
    }

    public String getGoodsdescription() {
        return goodsdescription;
    }

    public void setGoodsdescription(String goodsdescription) {
        this.goodsdescription = goodsdescription;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Goods{" +
            "goodsid=" + goodsid +
            ", goodsno='" + goodsno + '\'' +
            ", goodsname='" + goodsname + '\'' +
            ", goodstitle='" + goodstitle + '\'' +
            ", goodsimg='" + goodsimg + '\'' +
            ", categoryid=" + categoryid +
            ", brandid=" + brandid +
            ", goodsdescription='" + goodsdescription + '\'' +
            ", status=" + status +
            ", createtime=" + createtime +
            ", updatetime=" + updatetime +
            ", remark='" + remark + '\'' +
            '}';
    }
}